package com.wanxing.sellerapp.emqx.entity;

/**
 * 必达消息。
 */
public class MustArriveMsg {

    private String data;

    private String topic;

    private int qos;

    private boolean retain;



    public MustArriveMsg(String data, String topic, int qos, boolean retain) {
        this.data = data;
        this.topic = topic;
        this.qos = qos;
        this.retain = retain;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public int getQos() {
        return qos;
    }

    public void setQos(int qos) {
        this.qos = qos;
    }

    public boolean isRetain() {
        return retain;
    }

    public void setRetain(boolean retain) {
        this.retain = retain;
    }
}
